package com.bdqn.membersystem.servicce.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.bdqn.membersystem.pojo.GoodsPackAffiliated;
import com.bdqn.membersystem.mapper.GoodsPackAffiliatedMapper;
import com.bdqn.membersystem.servicce.GoodsPackAffiliatedService;
@Service
public class GoodsPackAffiliatedServiceImpl implements GoodsPackAffiliatedService{

    @Resource
    private GoodsPackAffiliatedMapper goodsPackAffiliatedMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return goodsPackAffiliatedMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insertSelective(GoodsPackAffiliated record) {
        return goodsPackAffiliatedMapper.insertSelective(record);
    }

    @Override
    public GoodsPackAffiliated selectByPrimaryKey(Long id) {
        return goodsPackAffiliatedMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(GoodsPackAffiliated record) {
        return goodsPackAffiliatedMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateBatch(List<GoodsPackAffiliated> list) {
        return goodsPackAffiliatedMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<GoodsPackAffiliated> list) {
        return goodsPackAffiliatedMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(GoodsPackAffiliated record) {
        return goodsPackAffiliatedMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(GoodsPackAffiliated record) {
        return goodsPackAffiliatedMapper.insertOrUpdateSelective(record);
    }

}
